package com.mzw.mapper;

import com.mzw.model.entity.Chart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * @author L1nAn
 * @Entity com.mzw.model.entity.Chart
 */
public interface ChartMapper extends BaseMapper<Chart> {

    List<Map<String, Object>> queryChartData(String querySql);

//    boolean createTable(String createSql);
    void createTable(String chartId);

    String checkTableExists(String chartId);
    int insertData(String chartId, String chartData, String genResult);

    int getCount();
}




